package com.iqi.onigao.http;

import cn.hutool.http.HttpUtil;
import cn.hutool.json.JSONUtil;

public class ToolHttp {
	
	public static RespData post(String url,ReqData reqData) {
		String json = HttpUtil.post(url, reqData.build());
		RespData respData = JSONUtil.toBean(json,RespData.class);
		return respData;
	}
}
